/*

Author   : chaos

FileName : mac_arg.cpp

Date     : 09/08/17 17:18:47

*/
#include <iostream>
using namespace std;

#define TRIANGLE(base,height) ((base)*(height)/2)

int main(int argc ,char *argv[])
{

    cout << "TRIANGLE(5,3)=" << TRIANGLE(5,3) << endl;

    cout << "sizeof(TRIANGLE(5,3))= " << sizeof(TRIANGLE(5,3)) << endl;

    cout << "TRIANGLE(5.0,3.0)=" << TRIANGLE(5.0,3.0) << endl << endl;

    cout << "sizeof(TRIANGLE(5.0,3.0))=" << sizeof(TRIANGLE(5.0,3.0)) << endl;


    return 0;
}
